﻿#pragma once

#include "Box.h"

// 小人
class Man: public Box {
    private: CImage* mCurrentImage1;    // 当前图片1
    private: CImage* mCurrentImage2;    // 当前图片2
    private: CWnd* mGameBoard;          // 游戏区域
    private: CImage mImageLeft1;        // 左图片1
    private: CImage mImageLeft2;        // 左图片2
    private: CImage mImageRight1;       // 右图片1
    private: CImage mImageRight2;       // 右图片2
    private: CImage mImageUp1;          // 上图片1
    private: CImage mImageUp2;          // 上图片2

    public: Man(BaseGameObject*, HDC, CWnd*, Type, int, int);
    public: ~Man();
    public: void Dancing();
    public: virtual BaseGameObject* Move(UINT, MoveResult*);
    private: static void CALLBACK OnTimer(HWND, UINT, UINT_PTR, DWORD);
};
